package co.fitstart.weapp.api.entity;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 添加/删除休息请求数据
 * @author haiyan_xiao
 *
 */
public class RestOperationRequest {

    /** 日期 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date day;

    /** 操作类型：add,添加；delete,删除 */
    private String type;

    /** 操作时间 */
    private List<String> times;

    public RestOperationRequest() {
        
    }

    /**
     * @return the day
     */
    public Date getDay() {
        return day;
    }

    /**
     * @param day the day to set
     */
    public void setDay(Date day) {
        this.day = day;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the times
     */
    public List<String> getTimes() {
        return times;
    }

    /**
     * @param times the times to set
     */
    public void setTimes(List<String> times) {
        this.times = times;
    }
}
